package com.erp.erp_ui.warehouse.req;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * @ClassName : AddOtherOutStockDetailReq
 * @Description : 新增其它出库明细入参实体
 * @Author : lst
 * @Date: 2020-07-29 13:17
 */
public class AddOtherOutStockDetailReq implements Serializable {

    /**
     * 序列码
     */
    private static final long serialVersionUID = -1341291019334863486L;

    /**
     * 主键
     */
    private Integer id;

    /**
     * 库存id
     */
    private Integer stockId;

    /**
     * 库存明细id
     */
    private Integer stockDetailId;

    /**
     * 产品编码
     */
    private String productCode;
    /**
     * 规格编码
     */
    private String specificationCode;
    /**
     * 合同类型(1:内销 2:外销 3:待定)
     */
    private Integer contractType;
    /**
     * 仓库名称
     */
    private String warehouseName;
    /**
     * 仓库编码
     */
    private String warehouseCode;
    /**
     * 出库数量
     */
    private BigDecimal outStockQuantity;
    /**
     * 产品单位
     */
    private String productUnit;
    /**
     * 库存成本
     */
    private BigDecimal stockCost;
    /**
     * 成本小计
     */
    private BigDecimal costSubtotal;
    /**
     * 产品中文名称
     */
    private String productCname;
    /**
     * 产品英文名称
     */
    private String productEname;
    /**
     * 规格说明
     */
    private String specificationExplanation;
    /**
     * 批次号
     */
    private String lotNo;
    /**
     * 备注
     */
    private String memo;
    /**
     * 分摊费用单价
     */
    private BigDecimal shareCostPrice;
    /**
     * 托盘入数
     */
    private BigDecimal trayNumber;
    /**
     * 总托盘
     */
    private BigDecimal totalTray;

    /**
     * 库存数量(库存可申请数量)
     */
    private BigDecimal stockQuantity;

    /**
     * 出库申请数量
     */
    private BigDecimal outWarehouseApply;

    /**
     * 入库单号
     */
    private String inStoreBillNo;

    /**
     * 客户货号
     */
    private String clientProductNo;

    /**
     * 产品中文描述
     */
    private String productCdesc;

    /**
     * 产品英文描述
     */
    private String productEdesc;

    /**
     * 颜色
     */
    private String color;


    public Integer getStockId() {
        return stockId;
    }

    public void setStockId(Integer stockId) {
        this.stockId = stockId;
    }

    public String getProductCode() {
        return productCode;
    }

    public void setProductCode(String productCode) {
        this.productCode = productCode;
    }

    public String getSpecificationCode() {
        return specificationCode;
    }

    public void setSpecificationCode(String specificationCode) {
        this.specificationCode = specificationCode;
    }

    public Integer getContractType() {
        return contractType;
    }

    public void setContractType(Integer contractType) {
        this.contractType = contractType;
    }

    public String getWarehouseName() {
        return warehouseName;
    }

    public void setWarehouseName(String warehouseName) {
        this.warehouseName = warehouseName;
    }

    public String getWarehouseCode() {
        return warehouseCode;
    }

    public void setWarehouseCode(String warehouseCode) {
        this.warehouseCode = warehouseCode;
    }

    public BigDecimal getOutStockQuantity() {
        return outStockQuantity;
    }

    public void setOutStockQuantity(BigDecimal outStockQuantity) {
        this.outStockQuantity = outStockQuantity;
    }

    public String getProductUnit() {
        return productUnit;
    }

    public void setProductUnit(String productUnit) {
        this.productUnit = productUnit;
    }

    public BigDecimal getStockCost() {
        return stockCost;
    }

    public void setStockCost(BigDecimal stockCost) {
        this.stockCost = stockCost;
    }

    public BigDecimal getCostSubtotal() {
        return costSubtotal;
    }

    public void setCostSubtotal(BigDecimal costSubtotal) {
        this.costSubtotal = costSubtotal;
    }

    public String getProductCname() {
        return productCname;
    }

    public void setProductCname(String productCname) {
        this.productCname = productCname;
    }

    public String getProductEname() {
        return productEname;
    }

    public void setProductEname(String productEname) {
        this.productEname = productEname;
    }

    public String getSpecificationExplanation() {
        return specificationExplanation;
    }

    public void setSpecificationExplanation(String specificationExplanation) {
        this.specificationExplanation = specificationExplanation;
    }

    public String getLotNo() {
        return lotNo;
    }

    public void setLotNo(String lotNo) {
        this.lotNo = lotNo;
    }

    public String getMemo() {
        return memo;
    }

    public void setMemo(String memo) {
        this.memo = memo;
    }

    public BigDecimal getShareCostPrice() {
        return shareCostPrice;
    }

    public void setShareCostPrice(BigDecimal shareCostPrice) {
        this.shareCostPrice = shareCostPrice;
    }

    public BigDecimal getTrayNumber() {
        return trayNumber;
    }

    public void setTrayNumber(BigDecimal trayNumber) {
        this.trayNumber = trayNumber;
    }

    public BigDecimal getTotalTray() {
        return totalTray;
    }

    public void setTotalTray(BigDecimal totalTray) {
        this.totalTray = totalTray;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getStockDetailId() {
        return stockDetailId;
    }

    public void setStockDetailId(Integer stockDetailId) {
        this.stockDetailId = stockDetailId;
    }

    public BigDecimal getStockQuantity() {
        return stockQuantity;
    }

    public void setStockQuantity(BigDecimal stockQuantity) {
        this.stockQuantity = stockQuantity;
    }

    public String getInStoreBillNo() {
        return inStoreBillNo;
    }

    public void setInStoreBillNo(String inStoreBillNo) {
        this.inStoreBillNo = inStoreBillNo;
    }

    public String getClientProductNo() {
        return clientProductNo;
    }

    public void setClientProductNo(String clientProductNo) {
        this.clientProductNo = clientProductNo;
    }

    public String getProductCdesc() {
        return productCdesc;
    }

    public void setProductCdesc(String productCdesc) {
        this.productCdesc = productCdesc;
    }

    public String getProductEdesc() {
        return productEdesc;
    }

    public void setProductEdesc(String productEdesc) {
        this.productEdesc = productEdesc;
    }

    public String getColor() {
        return color;
    }

    public void setColor(String color) {
        this.color = color;
    }

    public BigDecimal getOutWarehouseApply() {
        return outWarehouseApply;
    }

    public void setOutWarehouseApply(BigDecimal outWarehouseApply) {
        this.outWarehouseApply = outWarehouseApply;
    }

    /**
     * 重写toString
     */
    @Override
    public String toString() {
        final StringBuilder sb = new StringBuilder("AddOtherOutStockDetailReq").append('[')
                .append("id=")
                .append(id)
                .append(",stockId=")
                .append(stockId)
                .append(",stockDetailId=")
                .append(stockDetailId)
                .append(",productCode=")
                .append(productCode)
                .append(",specificationCode=")
                .append(specificationCode)
                .append(",contractType=")
                .append(contractType)
                .append(",warehouseName=")
                .append(warehouseName)
                .append(",warehouseCode=")
                .append(warehouseCode)
                .append(",outStockQuantity=")
                .append(outStockQuantity)
                .append(",productUnit=")
                .append(productUnit)
                .append(",stockCost=")
                .append(stockCost)
                .append(",costSubtotal=")
                .append(costSubtotal)
                .append(",productCname=")
                .append(productCname)
                .append(",productEname=")
                .append(productEname)
                .append(",specificationExplanation=")
                .append(specificationExplanation)
                .append(",lotNo=")
                .append(lotNo)
                .append(",memo=")
                .append(memo)
                .append(",shareCostPrice=")
                .append(shareCostPrice)
                .append(",trayNumber=")
                .append(trayNumber)
                .append(",totalTray=")
                .append(totalTray)
                .append(",stockQuantity=")
                .append(stockQuantity)
                .append(",outWarehouseApply=")
                .append(outWarehouseApply)
                .append(",inStoreBillNo=")
                .append(inStoreBillNo)
                .append(",clientProductNo=")
                .append(clientProductNo)
                .append(",productCdesc=")
                .append(productCdesc)
                .append(",productEdesc=")
                .append(productEdesc)
                .append(",color=")
                .append(color)
                .append(']');
        return sb.toString();
    }
}
